<?php
@session_start();
if($_SESSION['login']!==1){
	header("location:../login.php?refer=http://wx.miuiad.com/money/mission/index.php",301);
	exit;
}else{
	$session=$_SESSION['userdata'];
	$row_user=$mysql->query("select * from `userdata` where `id` in({$_SESSION['userdata']['id']})");
	$userdata=$row_user[0];
}